import Layout from 'src/layout'

export default {
  path: '/system',
  component: Layout,
  redirect: '/system/admin',
  name: 'System',
  meta: {
    title: '系统',
    icon: 'dashboard'
  },
  children: [
    {
      path: 'admin',
      name: 'Admin',
      component: () => import('src/views/system/Admin.vue'),
      meta: {title: '管理员'},
    },
    {
      path:'settingAdminRole',
      name:'SettingAdminRole',
      component: () => import('src/views/system/SettingAdminRole.vue'),
      meta: {title: '设置角色'},
    },
    {
      path: 'role',
      name: 'Role',
      component: () => import('src/views/system/Role.vue'),
      meta: {title: '角色'}
    },
    {
      path: 'permissionSetting',
      name: 'PermissionSetting',
      component: () => import('src/views/system/PermissionSetting.vue'),
      meta: {title: '角色权限设置'}
    },
    {
      path: 'admin_permission',
      name: 'admin_permission',
      component: () => import('src/views/system/PermissionAdmin.vue'),
      meta: {title: '权限管理'}
    },
    {
      path: 'add_admin_Permission',
      name: 'AddadminPermission',
      component: () => import('src/views/system/AddadminPermission.vue'),
      meta: {title: '添加管理员权限'}
    },
    {
      path: 'label',
      name: 'Label',
      component: () => import('src/views/system/Label.vue'),
      meta: {title: '标签'}
    },
    {
      path: 'productApiSetting',
      name: 'ProductApiSetting',
      component: () => import('src/views/system/ProductApiSetting.vue'),
      meta: {title: '产品方Api配置'}
    },
    {
      path: 'addProductApiSetting',
      name: 'AddProductApiSetting',
      component: () => import('src/views/system/AddProductApiSetting.vue'),
      meta: {title: '添加Api配置'}
    }
  ]
}
